package com.example.design.c.bridging;

/**
 * 测试桥接模式
 */
public class TestBridging {

    public static void main(String[] args) {
        Color color=new White();
        Shape circle=new Circle();
        circle.setColor(color);
        circle.draw();
    }
}
